package com.insideClass.AnonymityInsideClass;

class CommunicateSimply{
    static void perform(Performs performs){
        performs.speak();
        performs.sit();
    }
}
/**
 * @author 13699
 */
public class SimpleDogsAndRobots {
    public static void main(String[] args) {
        CommunicateSimply.perform(new PerformingDog());
        CommunicateSimply.perform(new Robot());
    }
}
